############################################################

# Set the base image

FROM maven:3.5-jdk-8

# Set working dir
WORKDIR /data

# Copy compiled code
COPY Dubhe/dubhe-server ./dubhe-server 

# Copy start script
COPY start.sh ./ 

# Copy docker client
COPY docker /usr/local/bin

# Do init work for image
RUN chmod +x start.sh

ENTRYPOINT ["/data/start.sh"]
